package com.cdd.goods.mapper;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.common.entity.Goods;
import com.common.entity.GoodsStorage;
import feign.Param;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author lzl
 * @since 2022-09-01
 */
public interface GoodsStorageMapper extends BaseMapper<GoodsStorage> {


    IPage<Map> findShopGoods(Page<Map> page, @Param("ew") QueryWrapper<Goods> wrapper);

    List<GoodsStorage> selectGdname();
}
